package com.lifeng.service.impl;

import com.lifeng.api.UserService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Component;

/**
 * Created by lifeng on 2019/2/25.
 */
@DubboService(interfaceClass=UserService.class,group = "lifeng-dubbo",version = "1.0.0")
@Component
public class UserServiceImpl implements UserService{
    @Override
    public String getUserInfo(String userId) {
        return "服务端返回的消息";
    }
}
